
EXE=sample
SOURCE=main.cpp

#LIBRARY=`pkg-config --libs opencv`
#INCLUDE=`pkg-config --cflags opencv`
FRAMEWORK=-framework OpenGL -framework GLUT -framework OpenCV

CXX=g++ -arch i386 -g
#CXX=g++-4.2

all:
	$(CXX) $(SOURCE) $(LIBRARY) $(INCLUDE) $(FRAMEWORK) -o $(EXE)

clean:
	rm -rf $(EXE)
